Position

constructor(contextInput: ContextInput, mX: Int, mY: Int, x: Int, y: Int, width: Int, height: Int, screenWidth: Int, screenHeight: Int)

Parameters

contextInput

ContextInput the type of input relevant to this context event

mX

current mouse X position in pixels

mY

current mouse Y position in pixels

x

scoped X position. Downstream handlers should update this with their scoped position as needed.

y

scoped Y position. Downstream handlers should update this with their scoped position as needed.

screenWidth

current screen width in pixels

screenHeight

current screen height in pixels